package designPattern.State;

public class BadState implements State {
	@Override
	public void doAction(Context context) {

		if (context.getState() instanceof CalmState) {
			System.out.println("心如止水");
		} else {
			System.out.println("很难过");
		}
	}
}
